<script lang="ts" setup>
//CisJsonViewer组件
import CisWord from '@/lib/CisWord/CisWord.js'
const file = ref(null) as any
const cisword = ref()

const loadByFile = () => {
  cisword.value.loadByFile(file.value.files[0]);
}
onMounted(()=>{
})
</script>
<template>
  <input type="file"
         @change="loadByFile"
         ref="file">
  <CisWord
      ref="cisword"
      url="http://192.168.1.76:18999/group1/M00/00/01/wKgBTGQFrAaANf3UAABPM42l34Q68.docx"
  ></CisWord>
</template>
